package com.douwong.student.model;

import java.io.Serializable;
import java.util.List;

/**
 * @autor yichao
 * @time 2017/6/1513:42
 * @des ${TODO}
 */

public class AnswerQuestionInfo implements Serializable{
    private static final long serialVersionUID = 1L;
    /**
     * msg : 查询成功
     * number : 200
     * flag : true
     * data : [{"result":"C,E","answer":"A,C,D,E","create_time":"2017-06-15 10:44:45","topic_url":"/classroom/1/teacher/289/3/qa/f399b318-cf3f-4548-9387-163c19acb18b.png","options":"A:kkk,B:gg,C:dd,D:ddd,E:dd,F:ddd","topic":"guyjgyuyg","id":14974946851,"type":2,"is_yesno":0}]
     */
    private String msg;
    private int number;
    private boolean flag;
    private List<DataEntity> data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public int getNumber() {
        return number;
    }

    public boolean isFlag() {
        return flag;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public class DataEntity {
        /**
         * result : C,E
         * answer : A,C,D,E
         * create_time : 2017-06-15 10:44:45
         * topic_url : /classroom/1/teacher/289/3/qa/f399b318-cf3f-4548-9387-163c19acb18b.png
         * options : A:kkk,B:gg,C:dd,D:ddd,E:dd,F:ddd
         * topic : guyjgyuyg
         * id : 14974946851
         * type : 2
         * is_yesno : 0
         */
        private String result;
        private String answer;
        private String create_time;
        private String topic_url;
        private String options;
        private String topic;
        private String id;
        private int type;
        private int is_yesno;

        public void setResult(String result) {
            this.result = result;
        }

        public void setAnswer(String answer) {
            this.answer = answer;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public void setTopic_url(String topic_url) {
            this.topic_url = topic_url;
        }

        public void setOptions(String options) {
            this.options = options;
        }

        public void setTopic(String topic) {
            this.topic = topic;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setType(int type) {
            this.type = type;
        }

        public void setIs_yesno(int is_yesno) {
            this.is_yesno = is_yesno;
        }

        public String getResult() {
            return result;
        }

        public String getAnswer() {
            return answer;
        }

        public String getCreate_time() {
            return create_time;
        }

        public String getTopic_url() {
            return topic_url;
        }

        public String getOptions() {
            return options;
        }

        public String getTopic() {
            return topic;
        }

        public String getId() {
            return id;
        }

        public int getType() {
            return type;
        }

        public int getIs_yesno() {
            return is_yesno;
        }
    }
}
